<h3 class="titleBlock">General Information</h3>
<div class="contentBlock autoHeight">
	<table class="fieldSet fullWidth">
		<tr>
			<td class="fieldLabel">Parent Category</td>
			<td class="fieldInput">
				<?php echo fx_control::newInstance('category_parent')
									 ->createType('combobox')
									 ->addOption('No Parent', 0)
									 ->binding($model, 'parent_id', $parents, 'id/name')
									 ->render(); 
				?>
			</td>
		</tr>
		<tr>
			<td class="fieldLabel">Banner</td>
			<td class="fieldInput">
				<?php echo fx_control::newInstance('category_banner')
									 ->createType('file')
									 ->binding($model, 'banner')
									 ->render(); 
				?>
			</td>
		</tr>
		<tr>
			<td class="fieldLabel">Name</td>
			<td class="fieldInput">
				<?php echo fx_control::newInstance('category_name')
									 ->createType('text')
									 ->binding($model, 'name')
									 ->render(); 
				?>
			</td>
		</tr>
		<tr>
			<td class="fieldLabel">Code</td>
			<td class="fieldInput">
				<?php echo fx_control::newInstance('category_code')
									 ->createType('text')
									 ->binding($model, 'code')
									 ->render(); 
				?>
			</td>
		</tr>
		<tr>
			<td class="fieldLabel">Summary</td>
			<td class="fieldInput">
				<?php echo fx_control::newInstance('category_summary')
									 ->createType('editor')
									 ->binding($model, 'summary')
									 ->render(); 
				?>
			</td>
		</tr>
		<tr>
			<td class="fieldLabel">Status</td>
			<td class="fieldInput">
				<?php echo fx_control::newInstance('category_status')
									 ->createType('option')
									 ->addOption('Select Status', '')
									 ->addOption('Active', 1)
									 ->addOption('DeActive', 0)
									 ->binding($model, 'is_active')
									 ->render(); 
				?>
			</td>
		</tr>
	</table>
</div>